// 1.引入http模块
let http = require("http");
//2.创建服务
let server = http.createServer((request,response)=>{
        response.end("hello")
})
//3.监听3000端口
server.listen(3000)

console.log("服务器已经启动，3000");
